package com.yum.ms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yum.ms.entity.SeckillOrder;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Yum
 * @since 2022-02-16
 */
public interface ISeckillOrderService extends IService<SeckillOrder> {

    /**
     * 获取秒杀结果
     * @param userId 用户id
     * @param goodsId 商品id
     * @return
     */
    String getResult(Long userId, Long goodsId);
}
